package com.tuanzi.loan.business.entity.onekey;

import com.tuanzi.loan.core.entity.AuditEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @author caiwanlin
 * @create 2018-07-12 11:26
 */
@Data
@Entity
@Table(name = "loan_ctrl_one_key_online")
@EqualsAndHashCode(callSuper = true)
public class CtrlOneKeyOnline extends AuditEntity implements Serializable {

    private static final long serialVersionUID = -2738237345915329221L;
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "party_name")
    private String partyName;

    @Column(name = "num_type")
    private Integer numType;

    @Column(name = "num_id")
    private Integer numId;

    @Column(name = "api_template_id")
    private Integer apiTemplateId;

    @Column(name = "status")
    private Integer status;

    @Column(name = "offline_count")
    private Integer offlineCount;

    @Column(name = "control_type")
    private Integer controlType;

    @Column(name = "online_time")
    private Date onlineTime;

    @Column(name = "offline_time")
    private Date offlineTime;

}
